import Vue from 'vue';
import App from './App.vue';
import router from './router/index';
import store from './store/index';
import './registerServiceWorker';
import Vant from 'vant';
import 'vant/lib/index.css';
import 'lib-flexible'
import 'postcss-pxtorem'
// import {Toast} from 'vant'
Vue.use(Vant);
import './assets/style/reset.css'
import './assets/style/css.css'
import $axios from '../src/utils/requset'
import mixin from './mixin/index'

Vue.prototype.$axios = $axios;
Vue.mixin(mixin)

Vue.config.productionTip = false;

import {Toast} from 'vant'
Toast.setDefaultOptions({
  duration: 900
});
Vue.use(Toast);

new Vue({
    router,
    store,
    render: h => h(App),
}).$mount('#app');